import { Card, Modal } from 'antd'
import type { DictPopFormProps } from './typing'

const DictPopForm: React.FC<DictPopFormProps> = (props) => {
  const { isShow, onClose } = props

  const handleOk = () => {
    onClose(false)
  }
  const handleCancel = () => {
    onClose(false)
  }

  return (
    <>
      <Modal open={isShow} onOk={handleOk} onCancel={handleCancel}>
        <Card>hello world</Card>
      </Modal>
    </>
  )
}
export default DictPopForm
